package com.wonder.admin.constant;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Parameters {

	public static List<Map<String, Object>> fieldList() {

		List<Map<String, Object>> list = new ArrayList<>();

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("name", "文本框");
		map1.put("type", 1);
		map1.put("property", 1);
		map1.put("search", true);
		list.add(map1);

		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("name", "下拉框");
		map2.put("type", 2);
		map2.put("property", 3);
		map2.put("item", true);
		map2.put("search", true);
		list.add(map2);

		Map<String, Object> map3 = new HashMap<String, Object>();
		map3.put("name", "下拉框(多选)");
		map3.put("type", 3);
		map3.put("property", 1);
		map3.put("item", true);
		map3.put("search", true);
		list.add(map3);

		Map<String, Object> map4 = new HashMap<String, Object>();
		map4.put("name", "单选框");
		map4.put("type", 4);
		map4.put("property", 3);
		map4.put("item", true);
		map4.put("search", true);
		list.add(map4);

		Map<String, Object> map5 = new HashMap<String, Object>();
		map5.put("name", "多选框");
		map5.put("type", 5);
		map5.put("property", 1);
		map5.put("item", true);
		map5.put("search", true);
		list.add(map5);

		Map<String, Object> map6 = new HashMap<String, Object>();
		map6.put("name", "开关按钮");
		map6.put("type", 6);
		map6.put("property", 6);
		map6.put("item", true);
		map6.put("search", true);
		list.add(map6);

		Map<String, Object> map7 = new HashMap<String, Object>();
		map7.put("name", "密码框");
		map7.put("type", 7);
		map7.put("property", 1);
		map7.put("search", false);
		list.add(map7);

		Map<String, Object> map8 = new HashMap<String, Object>();
		map8.put("name", "文本域");
		map8.put("type", 8);
		map8.put("property", 4);
		map8.put("search", true);
		list.add(map8);
		Map<String, Object> map9 = new HashMap<String, Object>();
		map9.put("name", "日期框");
		map9.put("type", 9);
		map9.put("property", 2);
		map9.put("search", false);
		list.add(map9);
		Map<String, Object> map10 = new HashMap<String, Object>();
		map10.put("name", "日期范围");
		map10.put("type", 10);
		map10.put("property", 1);
		map10.put("search", false);
		list.add(map10);
		Map<String, Object> map11 = new HashMap<String, Object>();
		map11.put("name", "创建时间(后端自动)");
		map11.put("type", 11);
		map11.put("property", 2);
		map11.put("search", false);
		list.add(map11);
		Map<String, Object> map12 = new HashMap<String, Object>();
		map12.put("name", "修改时间(后端自动)");
		map12.put("type", 12);
		map12.put("property", 2);
		map12.put("search", false);
		list.add(map12);
		Map<String, Object> map13 = new HashMap<String, Object>();
		map13.put("name", "单图上传");
		map13.put("type", 13);
		map13.put("property", 1);
		map13.put("search", false);
		list.add(map13);

		Map<String, Object> map14 = new HashMap<String, Object>();
		map14.put("name", "多图上传");
		map14.put("type", 14);
		map14.put("property", 4);
		map14.put("search", false);
		list.add(map14);
		Map<String, Object> map15 = new HashMap<String, Object>();
		map15.put("name", "单文件上传");
		map15.put("type", 15);
		map15.put("property", 1);
		map15.put("search", false);
		list.add(map15);
		Map<String, Object> map16 = new HashMap<String, Object>();
		map16.put("name", "多文件上传");
		map16.put("type", 16);
		map16.put("property", 4);
		map16.put("search", false);
		list.add(map16);
		Map<String, Object> map17 = new HashMap<String, Object>();
		map17.put("name", "计数器");
		map17.put("type", 17);
		map17.put("property", 5);
		map17.put("search", false);
		list.add(map17);

		Map<String, Object> map18 = new HashMap<String, Object>();
		map18.put("name", "标签");
		map18.put("type", 18);
		map18.put("property", 1);
		map18.put("search", true);
		list.add(map18);
		Map<String, Object> map19 = new HashMap<String, Object>();
		map19.put("name", "滑块");
		map19.put("type", 19);
		map19.put("property", 3);
		map19.put("search", false);
		list.add(map19);
		Map<String, Object> map20 = new HashMap<String, Object>();
		map20.put("name", "颜色选择器");
		map20.put("type", 20);
		map20.put("property", 1);
		map20.put("search", false);
		list.add(map20);
		Map<String, Object> map21 = new HashMap<String, Object>();
		map21.put("name", "键值对");
		map21.put("type", 21);
		map21.put("property", 4);
		map21.put("search", false);
		list.add(map21);
		Map<String, Object> map22 = new HashMap<String, Object>();
		map22.put("name", "省市区联动");
		map22.put("type", 22);
		map22.put("property", 1);
		map22.put("search", false);
		list.add(map22);

		Map<String, Object> map23 = new HashMap<String, Object>();
		map23.put("name", "百度地图坐标选择器");
		map23.put("type", 23);
		map23.put("property", 4);
		map23.put("search", false);
		list.add(map23);

		Map<String, Object> map24 = new HashMap<String, Object>();
		map24.put("name", "高德地图坐标选择器");
		map24.put("type", 24);
		map24.put("property", 4);
		map24.put("search", false);
		list.add(map24);

		Map<String, Object> map25 = new HashMap<String, Object>();
		map25.put("name", "腾讯地图坐标选择器");
		map25.put("type", 28);
		map25.put("property", 4);
		map25.put("search", false);
		list.add(map25);

//		Map<String, Object> map26 = new HashMap<String, Object>();
//		map26.put("name", "编辑器(wangeditor)");
//		map26.put("type", 25);
//		map26.put("property", 4);
//		map26.put("search", false);
//		list.add(map26);

		Map<String, Object> map27 = new HashMap<String, Object>();
		map27.put("name", "编辑器(Tinymce)");
		map27.put("type", 26);
		map27.put("property", 8);
		map27.put("search", false);
		list.add(map27);

//		Map<String, Object> map28 = new HashMap<String, Object>();
//		map28.put("name", "markdown编辑器(mdeditor)");
//		map28.put("type", 27);
//		map28.put("property", 4);
//		map28.put("search", false);
//		list.add(map28);

		Map<String, Object> map29 = new HashMap<String, Object>();
		map29.put("name", "排序号");
		map29.put("type", 29);
		map29.put("property", 2);
		map29.put("search", false);
		list.add(map29);

		Map<String, Object> map30 = new HashMap<String, Object>();
		map30.put("name", "token解码值");
		map30.put("type", 30);
		map30.put("property", 2);
		map30.put("search", false);
		list.add(map30);

		Map<String, Object> map31 = new HashMap<String, Object>();
		map31.put("name", "随机数");
		map31.put("type", 31);
		map31.put("property", 1);
		map31.put("search", false);
		list.add(map31);

		Map<String, Object> map32 = new HashMap<String, Object>();
		map32.put("name", "订单号");
		map32.put("type", 32);
		map32.put("property", 1);
		map32.put("search", false);
		list.add(map32);

		Map<String, Object> map33 = new HashMap<String, Object>();
		map33.put("name", "隐藏域");
		map33.put("type", 33);
		map33.put("property", 1);
		map33.put("search", false);
		list.add(map33);

		Map<String, Object> map34 = new HashMap<String, Object>();
		map34.put("name", "请求ip");
		map34.put("type", 34);
		map34.put("property", 1);
		map34.put("search", false);
		list.add(map34);
		
		Map<String, Object> map35 = new HashMap<String, Object>();
		map35.put("name", "JSON数组");
		map35.put("type", 35);
		map35.put("property", 1);
		map35.put("item", true);
		map35.put("search", false);
		list.add(map35);
//		
//		Map<String, Object> map36 = new HashMap<String, Object>();
//		map36.put("name", "多语言字段");
//		map36.put("type", 36);
//		map36.put("property", 1);
//		map36.put("item", true);
//		map36.put("search", false);
//		list.add(map36);

		return list;

	}

	public static List<Map<String, Object>> actionList() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("name", "数据列表");
		map1.put("type", 1);
		map1.put("dialog", false);
		map1.put("button", false);
		map1.put("view", true);
		map1.put("action_name", "index");
		map1.put("pagesize", "20");
		map1.put("group_button_status", 0);
		map1.put("sortid", 1);
		map1.put("default_create", true);
		map1.put("show_admin", true);
		map1.put("show_api", true);
		list.add(map1);
		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("name", "修改排序开关");
		map2.put("type", 12);
		map2.put("dialog", false);
		map2.put("button", false);
		map2.put("view", false);
		map2.put("action_name", "updateExt");
		map2.put("group_button_status", 0);
		map2.put("sortid", 2);
		map2.put("default_create", true);
		map2.put("show_admin", true);
		list.add(map2);
		Map<String, Object> map3 = new HashMap<String, Object>();
		map3.put("name", "添加");
		map3.put("type", 2);
		map3.put("dialog", true);
		map3.put("button", true);
		map3.put("view", true);
		map3.put("icon", "el-icon-plus");
		map3.put("button_color", "success");
		map3.put("action_name", "add");
		map3.put("group_button_status", 1);
		map3.put("sortid", 3);
		map3.put("default_create", true);
		map3.put("dialog_size", "600px");
		map3.put("show_admin", true);
		map3.put("show_api", true);
		list.add(map3);
		
		Map<String, Object> map31 = new HashMap<String, Object>();
		map31.put("name", "复制添加");
		map31.put("type", 21);
		map31.put("dialog", true);
		map31.put("button", true);
		map31.put("view", true);
		map31.put("icon", "el-icon-plus");
		map31.put("button_color", "success");
		map31.put("action_name", "clone");
		map31.put("group_button_status", 1);
		map31.put("sortid", 3);
		map31.put("default_create", false);
		map31.put("dialog_size", "600px");
		map31.put("show_admin", true);
		map31.put("show_api", true);
		list.add(map31);
		
		Map<String, Object> map32 = new HashMap<String, Object>();
		map32.put("name", "选择添加");
		map32.put("type", 22);
		map32.put("dialog", true);
		map32.put("button", true);
		map32.put("view", false);
		map32.put("icon", "el-icon-plus");
		map32.put("button_color", "success");
		map32.put("action_name", "selectAdd");
		map32.put("group_button_status", 1);
		map32.put("sortid", 3);
		map32.put("default_create", false);
		map32.put("dialog_size", "600px");
		map32.put("show_admin", true);
		map32.put("show_api", false);
		list.add(map32);
		
		Map<String, Object> map4 = new HashMap<String, Object>();
		map4.put("name", "修改");
		map4.put("type", 3);
		map4.put("dialog", true);
		map4.put("button", true);
		map4.put("view", true);
		map4.put("icon", "el-icon-edit");
		map4.put("button_color", "primary");
		map4.put("action_name", "update");
		map4.put("group_button_status", 1);
		map4.put("list_button_status", 1);
		map4.put("sortid", 4);
		map4.put("default_create", true);
		map4.put("dialog_size", "600px");
		map4.put("show_admin", true);
		map4.put("show_api", true);
		list.add(map4);
		Map<String, Object> map5 = new HashMap<String, Object>();
		map5.put("name", "删除");
		map5.put("type", 4);
		map5.put("dialog", false);
		map5.put("button", true);
		map5.put("view", false);
		map5.put("icon", "el-icon-delete");
		map5.put("button_color", "danger");
		map5.put("action_name", "delete");
		map5.put("group_button_status", 1);
		map5.put("list_button_status", 1);
		map5.put("sortid", 5);
		map5.put("default_create", true);
		map5.put("show_admin", true);
		map5.put("show_api", true);
		list.add(map5);
		Map<String, Object> map6 = new HashMap<String, Object>();
		map6.put("name", "查看详情");
		map6.put("type", 5);
		map6.put("dialog", true);
		map6.put("button", true);
		map6.put("view", true);
		map6.put("icon", "el-icon-view");
		map6.put("button_color", "info");
		map6.put("action_name", "detail");
		map6.put("group_button_status", 1);
		map6.put("sortid", 6);
		map6.put("default_create", true);
		map6.put("dialog_size", "600px");
		map6.put("show_admin", true);
		map6.put("show_api", true);
		list.add(map6);
		Map<String, Object> map7 = new HashMap<String, Object>();
		map7.put("name", "重置密码");
		map7.put("type", 6);
		map7.put("dialog", true);
		map7.put("button", true);
		map7.put("view", true);
		map7.put("icon", "el-icon-lock");
		map7.put("button_color", "primary");
		map7.put("action_name", "resetPwd");
		map7.put("group_button_status", 1);
		map7.put("sortid", 7);
		map7.put("dialog_size", "500px");
		map7.put("show_admin", true);
		map7.put("show_api", true);
		list.add(map7);
		Map<String, Object> map8 = new HashMap<String, Object>();
		map8.put("name", "设置指定值 如修改状态");
		map8.put("type", 7);
		map8.put("dialog", true);
		map8.put("button", true);
		map8.put("view", true);
		map8.put("icon", "el-icon-edit-outline");
		map8.put("button_color", "primary");
		map8.put("group_button_status", 1);
		map8.put("sortid", 8);
		map8.put("show_admin", true);
		map8.put("show_api", true);
		list.add(map8);
		Map<String, Object> map9 = new HashMap<String, Object>();
		map9.put("name", "数值加");
		map9.put("type", 8);
		map9.put("dialog", true);
		map9.put("button", true);
		map9.put("view", true);
		map9.put("icon", "el-icon-plus");
		map9.put("button_color", "primary");
		map9.put("action_name", "jia");
		map9.put("group_button_status", 1);
		map9.put("sortid", 9);
		map9.put("dialog_size", "500px");
		map9.put("show_admin", true);
		map9.put("show_api", true);
		list.add(map9);
		Map<String, Object> map10 = new HashMap<String, Object>();
		map10.put("name", "数值减");
		map10.put("type", 9);
		map10.put("dialog", true);
		map10.put("button", true);
		map10.put("view", true);
		map10.put("icon", "el-icon-plus");
		map10.put("button_color", "primary");
		map10.put("action_name", "jian");
		map10.put("group_button_status", 1);
		map10.put("sortid", 10);
		map10.put("dialog_size", "500px");
		map10.put("show_admin", true);
		map10.put("show_api", true);
		list.add(map10);
		Map<String, Object> map11 = new HashMap<String, Object>();
		map11.put("name", "导入");
		map11.put("type", 10);
		map11.put("dialog", true);
		map11.put("button", true);
		map11.put("view", true);
		map11.put("icon", "el-icon-upload");
		map11.put("button_color", "warning");
		map11.put("action_name", "importData");
		map11.put("group_button_status", 1);
		map11.put("sortid", 11);
		map11.put("default_create", true);
		map11.put("show_admin", true);
		map11.put("dialog_size", "600px");
		list.add(map11);
		Map<String, Object> map12 = new HashMap<String, Object>();
		map12.put("name", "导出");
		map12.put("type", 11);
		map12.put("dialog", true);
		map12.put("button", true);
		map12.put("view", false);
		map12.put("icon", "el-icon-download");
		map12.put("button_color", "warning");
		map12.put("action_name", "dumpdata");
		map12.put("group_button_status", 1);
		map12.put("sortid", 12);
		map12.put("default_create", true);
		map12.put("show_admin", true);
		list.add(map12);
		Map<String, Object> map13 = new HashMap<String, Object>();
		map13.put("name", "配置表单");
		map13.put("type", 14);
		map13.put("dialog", false);
		map13.put("button", false);
		map13.put("view", false);
		map13.put("action_name", "index");
		map13.put("sortid", 14);
		map13.put("show_admin", true);
		list.add(map13);
		Map<String, Object> map14 = new HashMap<String, Object>();
		map14.put("name", "跳转链接");
		map14.put("type", 15);
		map14.put("dialog", true);
		map14.put("button", true);
		map14.put("view", false);
		map14.put("icon", "el-icon-plus");
		map14.put("button_color", "warning");
		map14.put("action_name", "jumpUrl");
		map14.put("group_button_status", 1);
		map14.put("sortid", 15);
		map14.put("show_admin", true);
		list.add(map14);
		Map<String, Object> map15 = new HashMap<String, Object>();
		map15.put("name", "弹窗连接");
		map15.put("type", 16);
		map15.put("dialog", true);
		map15.put("button", true);
		map15.put("view", false);
		map15.put("icon", "el-icon-plus");
		map15.put("button_color", "warning");
		map15.put("group_button_status", 1);
		map15.put("action_name", "dialogModule");
		map15.put("sortid", 16);
		map15.put("show_admin", true);
		list.add(map15);

		Map<String, Object> map16 = new HashMap<String, Object>();
		map16.put("name", "批量添加");
		map16.put("type", 17);
		map16.put("dialog", false);
		map16.put("button", true);
		map16.put("view", false);
		map16.put("icon", "el-icon-plus");
		map16.put("button_color", "success");
		map16.put("action_name", "batchAdd");
		map16.put("group_button_status", 1);
		map16.put("list_button_status", 0);
		map16.put("sortid", 18);
		map16.put("default_create", false);
		map16.put("show_admin", true);
		map16.put("show_api", false);
		list.add(map16);

		Map<String, Object> map17 = new HashMap<String, Object>();
		map17.put("name", "批量修改");
		map17.put("type", 18);
		map17.put("dialog", false);
		map17.put("button", true);
		map17.put("view", false);
		map17.put("icon", "el-icon-edit");
		map17.put("button_color", "primary");
		map17.put("action_name", "batchUpdate");
		map17.put("group_button_status", 1);
		map17.put("list_button_status", 0);
		map17.put("sortid", 17);
		map17.put("default_create", false);
		map17.put("show_admin", true);
		map17.put("show_api", false);
		list.add(map17);

		Map<String, Object> map18 = new HashMap<String, Object>();
		map18.put("name", "用户登录");
		map18.put("type", 50);
		map18.put("sortid", 50);
		map18.put("view", false);
		map18.put("action_name", "login");
		map18.put("dialog", true);
		map18.put("show_api", true);

		list.add(map18);
		Map<String, Object> map19 = new HashMap<String, Object>();
		map19.put("name", "发送验证码");
		map19.put("type", 51);
		map19.put("sortid", 51);
		map19.put("view", false);
		map19.put("action_name", "sendSms");
		map19.put("dialog", false);
		map19.put("show_api", true);
		list.add(map19);
		
		Map<String, Object> map20 = new HashMap<String, Object>();
		map20.put("name", "后台操作服务");
		map20.put("type", 52);
		map20.put("sortid", 52);
		map20.put("view", false);
		map20.put("show_admin", true);
		map20.put("group_button_status", 1);
		map20.put("list_button_status", 0);
		map20.put("icon", "el-icon-edit");
		map20.put("button_color", "primary");
		map20.put("action_name", "actionService");
		map20.put("dialog", false);
		map20.put("show_api", true);
		list.add(map20);

		return list;
	}

	public static List<Map<String, Object>> propertyField() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("type", 1);
		map1.put("name", "varchar");
		map1.put("maxlen", 250);
		map1.put("decimal", 0);
		list.add(map1);

		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("type", 2);
		map2.put("name", "int");
		map2.put("maxlen", 11);
		map2.put("decimal", 0);
		list.add(map2);

		Map<String, Object> map3 = new HashMap<String, Object>();
		map3.put("type", 3);
		map3.put("name", "smallint");
		map3.put("maxlen", 6);
		map3.put("decimal", 0);
		list.add(map3);

		Map<String, Object> map4 = new HashMap<String, Object>();
		map4.put("type", 4);
		map4.put("name", "text");
		map4.put("maxlen", 0);
		map4.put("decimal", 0);
		list.add(map4);

		Map<String, Object> map5 = new HashMap<String, Object>();
		map5.put("type", 8);
		map5.put("name", "longtext");
		map5.put("maxlen", 0);
		map5.put("decimal", 0);
		list.add(map5);

		Map<String, Object> map6 = new HashMap<String, Object>();
		map6.put("type", 5);
		map6.put("name", "decimal");
		map6.put("maxlen", 10);
		map6.put("decimal", 0);
		list.add(map6);

		Map<String, Object> map7 = new HashMap<String, Object>();
		map7.put("type", 6);
		map7.put("name", "tinyint");
		map7.put("maxlen", 4);
		map7.put("decimal", 0);
		list.add(map7);

		Map<String, Object> map8 = new HashMap<String, Object>();
		map8.put("type", 7);
		map8.put("name", "datetime");
		map8.put("maxlen", 0);
		map8.put("decimal", 0);
		list.add(map8);

		return list;
	}

	public static List<Map<String, Object>> itemList() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();

		List<Map<String, Object>> list2 = new ArrayList<Map<String, Object>>();
		
		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("key", "男");
		map2.put("val", "1");
		map2.put("label_color", "primary");
		list2.add(map2);

		Map<String, Object> map3 = new HashMap<String, Object>();
		map3.put("key", "女");
		map3.put("val", "2");
		map3.put("label_color", "warning");
		list2.add(map3);

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("name", "性别");
		map1.put("item", list2);
		
		list.add(map1);

		List<Map<String, Object>> list3 = new ArrayList<Map<String, Object>>();
		Map<String, Object> map5 = new HashMap<String, Object>();
		map5.put("key", "正常");
		map5.put("val", "1");
		map5.put("label_color", "primary");
		list3.add(map5);

		Map<String, Object> map6 = new HashMap<String, Object>();
		map6.put("key", "禁用");
		map6.put("val", "0");
		map6.put("label_color", "danger");
		list3.add(map6);

		Map<String, Object> map4 = new HashMap<String, Object>();
		map4.put("name", "状态");
		map4.put("item", list3);
		list.add(map4);

		List<Map<String, Object>> list4 = new ArrayList<Map<String, Object>>();
		Map<String, Object> map8 = new HashMap<String, Object>();
		map8.put("key", "开启");
		map8.put("val", "1");
		list4.add(map8);

		Map<String, Object> map9 = new HashMap<String, Object>();
		map9.put("key", "关闭");
		map9.put("val", "0");
		list4.add(map9);

		Map<String, Object> map7 = new HashMap<String, Object>();
		map7.put("name", "开关");
		map7.put("item", list4);
		list.add(map7);
		
		List<Map<String, Object>> list10 = new ArrayList<Map<String, Object>>();
		Map<String, Object> map11 = new HashMap<String, Object>();
		map11.put("key", "是");
		map11.put("val", "1");
		list10.add(map11);

		Map<String, Object> map12= new HashMap<String, Object>();
		map12.put("key", "否");
		map12.put("val", "0");
		list10.add(map12);

		Map<String, Object> map13 = new HashMap<String, Object>();
		map13.put("name", "是否");
		map13.put("item", list10);
		list.add(map13);

		return list;
	}

	public static Map<String, Object> ruleList() {
		Map<String, Object> list = new HashMap<String, Object>();
		list.put("邮箱", "/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/");
		list.put("网址", "/^((ht|f)tps?):\\/\\/([\\w\\-]+(\\.[\\w\\-]+)*\\/)*[\\w\\-]+(\\.[\\w\\-]+)*\\/?(\\?([\\w\\-\\.,@?^=%&:\\/~\\+#]*)+)?/");
		list.put("货币", "/(^[1-9]([0-9]+)?(\\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\\.[0-9]([0-9])?$)/");
		list.put("数字", "//^[0-9]*$/");
		list.put("手机", "/^1[3456789]\\d{9}$/");
		list.put("身份", "/^[1-9]\\d{5}(18|19|20|(3\\d))\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$/");
	
		return list;
	}

	public static List<Map<String, Object>> page_type_list() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("name", "table表格列表");
		map1.put("type", 1);
		list.add(map1);

		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("name", "form表单");
		map2.put("type", 2);
		list.add(map2);

		return list;
	}

	public static List<Map<String, Object>> sms_list() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();

		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("name", "阿里");
		map1.put("type", "Ali");
		list.add(map1);

		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("name", "聚合");
		map2.put("type", "Juhe");
		list.add(map2);

		Map<String, Object> map3 = new HashMap<String, Object>();
		map3.put("name", "极速");
		map3.put("type", "Jisu");
		list.add(map3);

		return list;
	}

	public static List<Map<String, Object>> defaultFields() {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
		Map<String, Object> map1 = new HashMap<String, Object>();
		map1.put("title", "编号");
		map1.put("type", 1);
		map1.put("datatype", "int");
		map1.put("length", "11");
		map1.put("list_show", 2);
		map1.put("create_table_field", 1);
		map1.put("sortid", 1);
		map1.put("primary", true);
		map1.put("width", "70");
		list.add(map1);
		
		Map<String, Object> map2 = new HashMap<String, Object>();
		map2.put("title", "标题");
		map2.put("field", "title");
		map2.put("list_show", 4);
		map2.put("type", 1);
		map2.put("search_type", 1);
		list.add(map2);

		return list;
	}

}
